﻿using System.Net.Http;
using Common;
using Microsoft.Extensions.DependencyInjection;

namespace Extensions.Services;

public static class AddHttpClient
{
    public static IServiceCollection AddHttpClientSetup(this IServiceCollection service)
    {
        
        service.AddHttpClient();
        service.AddSingleton(typeof(HttpHelper));
        return service;
    }
}

